Skip to content

docs/upstream: drop the repeated component prefix from the manifest key - #3505

Merged
Birfy merged 1 commit into
mainfrom
dev/3500-manifest-key-prefix
Dec 3, 2026
Merged

Birfy merged 1 commit into
mainfrom
dev/3500-manifest-key-prefix

Conversation

@Birfy

@Birfy Birfy commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

What this changes

One modified_files key in docs/upstream/migration-manifest.json carried its component prefix twice: services/bot-social/services/bot-social/test/trust_proxy.test.ts. The other 60 entries carry it once. The entry's destination, path, original_sha256, new_sha256, bytes, reason and licence notice are byte-identical; only the key is renamed.

Functionally inert: the verifier reads destination and path, not the key, which is why the doubled prefix never failed a check.

Verification

Local, bound to head 7efdb63ff0933087c4f168a5c2976cc20aa30d03 / tree 2e6c355fe1080bf8c7cea7db057dd3f6b6409aa4; no CI read for this head yet.

  • all 61 keys satisfy <destination>/<path>, 0 mismatches;
  • python3 scripts/verify-upstream-migration.py -> ok (flybot 46 files, bot-social 435 files), rc 0;
  • python3 -m unittest tests.test_upstream_migration tests.test_isolated_bot_social -> 8 tests OK;
  • git grep finds no other reference to the doubled key.

Diff is 1 file, +1/-1. No invariant guard is added here: the issue scopes this slice to the rename.

Refs #3500

The modified_files key for the trust-proxy test carried its component twice
(services/bot-social/services/bot-social/test/trust_proxy.test.ts), while the
other 60 entries carry it once. The entry's destination, path and hashes are
unchanged; only the key is renamed.

Refs #3500
@github-actions github-actions Bot added the risk:T0 Risk tier T0 (docs only), set by the controller from the diff; never by hand label Dec 3, 2026
@Birfy

Birfy commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Lead review — bound to head 7efdb63ff0933087c4f168a5c2976cc20aa30d03 (tree 2e6c355fe1080bf8c7cea7db057dd3f6b6409aa4).

Change: 1 file +1/-1 — docs/upstream/migration-manifest.json, one modified_files key renamed from the doubled services/bot-social/services/bot-social/test/trust_proxy.test.ts to services/bot-social/test/trust_proxy.test.ts. Entry fields untouched.

Rule checks: trailer Refs #3500, no closing keyword; risk:T0 set by risk-gate; base is main c7c27e22.

Acceptance evidence:

  • Pushed head rebuilt from codeload: tree 2e6c355f, 2,579 entries, same as verified locally (Runtime's 4205bec5 does not reproduce on this base).
  • 61/61 keys satisfy <destination>/<path>; verify-upstream-migration.py rc 0 (flybot 46 files, bot-social 435 files); unittest tests.test_upstream_migration tests.test_isolated_bot_social 8 tests OK.
  • CI, read-only at this head: 18/18 success, all completed.

@Birfy
Birfy added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit f255a7f Dec 3, 2026
18 checks passed
@Birfy
Birfy deleted the dev/3500-manifest-key-prefix branch December 3, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:T0 Risk tier T0 (docs only), set by the controller from the diff; never by hand

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant